package com.xebest.web.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 
 */
public class XeVenOrderRefundEntity implements Serializable {
    private Long id;

    /**
     * 退款单号
     */
    private String refundCode;
    /**
     * 用户code
     */
    private String userCode;
    /**
     * 订单号
     */
    private String orderId;

    /**
     * 退货单号
     */
    private String rejectCode;

    /**
     * 退款单来源：1自动创建 2售后单创建
     */
    private Integer refundSource;

    /**
     * 售后单号
     */
    private String afterSalesCode;

    /**
     * 已退款金额
     */
    private BigDecimal refundedAmount;

    /**
     * 退款金额
     */
    private BigDecimal realRefundedAmount;

    /**
     * 运费退款
     */
    private BigDecimal freAmount;

    /**
     * 退款类型:1实发差异退款 2自主退货退款 3其他 4取消订单退款
     */
    private Integer refundType;

    /**
     * 退款原因:1:质量问题 2：收到货与描述不符 3：无理由退 4：其它  5:重量差异退款 6： 取消订单
     */
    private Integer refundReason;

    /**
     * 退款时间
     */
    private Date refundDate;

    /**
     * 退款状态 1：待确认退款 2：已确认退款 3：退款失败 4：退款处理中  5:拒绝退款 6:已删除,7:退款成功
     */
    private Integer refundStatus;

    /**
     * 是否自动退款：1： 自动 2：手动 
     */
    private Integer automaticFlag;

    /**
     * 创建人
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date modifyDate;

    /**
     * 修改人
     */
    private String modifyUser;

    /**
     * 拒绝原因
     */
    private String refusReason;

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 是否删除 1未删除 2已删除
     */
    private Integer delFlag;

    /**
     * 退款来源：1 自营 2 三方 3 特批退款
     */
    private Integer platType;

    /**
     * 备注
     */
    private String remark;


    /**
     * 订单信息
     */
    private XeVenOrderInfoEntity xeVenOrderInfoEntity;

    /**
     * 售后单信息
     */
    private XeVenAfterSaleEntity xeVenAfterSaleEntity;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRefundCode() {
        return refundCode;
    }

    public void setRefundCode(String refundCode) {
        this.refundCode = refundCode;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Integer getRefundSource() {
        return refundSource;
    }

    public void setRefundSource(Integer refundSource) {
        this.refundSource = refundSource;
    }

    public String getAfterSalesCode() {
        return afterSalesCode;
    }

    public void setAfterSalesCode(String afterSalesCode) {
        this.afterSalesCode = afterSalesCode;
    }

    public BigDecimal getRefundedAmount() {
        return refundedAmount;
    }

    public void setRefundedAmount(BigDecimal refundedAmount) {
        this.refundedAmount = refundedAmount;
    }

    public BigDecimal getRealRefundedAmount() {
        return realRefundedAmount;
    }

    public void setRealRefundedAmount(BigDecimal realRefundedAmount) {
        this.realRefundedAmount = realRefundedAmount;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public Integer getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(Integer refundReason) {
        this.refundReason = refundReason;
    }

    public Date getRefundDate() {
        return refundDate;
    }

    public void setRefundDate(Date refundDate) {
        this.refundDate = refundDate;
    }

    public Integer getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(Integer refundStatus) {
        this.refundStatus = refundStatus;
    }

    public Integer getAutomaticFlag() {
        return automaticFlag;
    }

    public void setAutomaticFlag(Integer automaticFlag) {
        this.automaticFlag = automaticFlag;
    }

    public String getCreateUser() {
        return createUser;
    }

    public BigDecimal getFreAmount() {
        return freAmount;
    }

    public void setFreAmount(BigDecimal freAmount) {
        this.freAmount = freAmount;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public String getRefusReason() {
        return refusReason;
    }

    public void setRefusReason(String refusReason) {
        this.refusReason = refusReason;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getPlatType() {
        return platType;
    }

    public void setPlatType(Integer platType) {
        this.platType = platType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public XeVenOrderInfoEntity getXeVenOrderInfoEntity() {
        return xeVenOrderInfoEntity;
    }

    public void setXeVenOrderInfoEntity(XeVenOrderInfoEntity xeVenOrderInfoEntity) {
        this.xeVenOrderInfoEntity = xeVenOrderInfoEntity;
    }

    public XeVenAfterSaleEntity getXeVenAfterSaleEntity() {
        return xeVenAfterSaleEntity;
    }

    public void setXeVenAfterSaleEntity(XeVenAfterSaleEntity xeVenAfterSaleEntity) {
        this.xeVenAfterSaleEntity = xeVenAfterSaleEntity;
    }

    public String getRejectCode() {
        return rejectCode;
    }

    public void setRejectCode(String rejectCode) {
        this.rejectCode = rejectCode;
    }
}